package cn.yyh.servicePet.mapper;

import cn.yyh.commons.mapper.MyBaseMapper;
import cn.yyh.servicePet.domain.PetDetail;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;


@Repository
public interface PetDetailMapper extends MyBaseMapper<PetDetail> {
    PetDetail loadByPetId(Long productId);

    void removeByPetId(Serializable id);

    void updateByPetId(PetDetail detail);

    void deleteBatchByPetIds(List<Long> ids);
}
